home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Skunkware 5
/
Skunkware 5.iso
/
src
/
X11
/
mfsm-1.1
/
Imakefile
< prev
next >
Wrap
Makefile
|
1995-06-23
|
3KB
|
134 lines
INSTALL_DIR=/usr/skunk
BINDIR = $(INSTALL_DIR)/bin
LIBDIR = $(INSTALL_DIR)/lib
INCDIR = $(INSTALL_DIR)/include/$(PROGRAM)
XAPPLOADDIR = $(INSTALL_DIR)/lib/X11/app-defaults
CONFIGDIR = /usr/lib/X11/config
MKDIRHIER = /bin/sh /usr/bin/X11/mkdirhier
MANDIR = $(INSTALL_DIR)/man/man.1
MANSUFFIX = 1
/**
Machine Types Available:
AIX IMB RISC 6000 Workstation.
DIGITAL_UNIX Digital Alpha Workstation.
HPUX Hewlett Packard Workstation.
LINUX Any machine running Linux.
SCO Santa Cruz Operation Unix for Intel PC's.
SGI Silicon Graphics Workstation.
SOLARIS Sun Solaris 2.x Workstation.
SUNOS SunOS 4.x Workstation.
Quota Definitions:
HAVE_QUOTAS Quota system available using "quotactl" system
function.
USE_IOCTL Defined with HAVE_QUOTAS, but use the "ioctl"
system command to access quota information.
df (1) Types:
USE_SVR4DF Define if you are not using BSD style df(1) command.
Pixmap Definitions:
HAVE_XPM If you have the X colour pixmap library.
**/
#ifdef AIXArchitecture
MACHINE_INFO = -DAIX -DHAVE_QUOTAS
#endif
#ifdef AlphaArchitecture
MACHINE_INFO = -DDIGITAL_UNIX -DHAVE_QUOTAS
#endif
#ifdef HPArchitecture
MACHINE_INFO = -DHPUX -DHAVE_QUOTAS
#endif
#ifdef LinuxArchitecture
MACHINE_INFO = -DLINUX
#endif
#ifdef SCOArchitecture
MACHINE_INFO = -DSCO -DUSE_SVR4DF
SYS_LIBRARIES = $(XMULIB)
#endif
#ifdef SGIArchitecture
MACHINE_INFO = -DSGI -DHAVE_QUOTAS
#endif
#if defined(SunArchitecture)
/**
If you are running SunOS and not Solaris you may need to defined
-DUSE_SVR4DF if you are not using a BSD style df(1) command. BSD
df returns the format:
device other_info mount_point
SVR4 df returns the format:
mount_point (device) other_info
**/
#if OSMajorVersion > 4
MACHINE_INFO = -DSOLARIS -DHAVE_QUOTAS -DUSE_IOCTL
SYS_LIBRARIES = -lgen
#else
MACHINE_INFO = -DSUNOS -DHAVE_QUOTAS
#endif
#endif
/**
Generic Machine Definitions: If your machine does not appear above,
try uncommenting the following line.
**/
XCOMM MACHINE_INFO = -DHAVE_QUOTAS
/**
If you have the XPM library, make HAVE_XPM defined
and make sure the path names to the library and
includes are correct.
**/
#define HAVE_XPM
#ifdef HAVE_XPM
/**
XPM_LIB = -L/usr/local/lib -lXpm
XPM_INCLUDE = -I/usr/local/include -DHAVE_XPM
**/
XPM_LIB = -L../xpm-3.3/lib -lXpm
XPM_INCLUDE = -I../xpm-3.3/lib -DHAVE_XPM
#endif
CDEBUGFLAGS = -O
/**
Set these directories if you don't like the defaults.
**/
XCOMM BINDIR = /usr/local/bin
XCOMM MANDIR = /usr/local/man/mann
DEFINES = $(MACHINE_INFO) $(XPM_INCLUDE) $(HAVE_QUOTAS)
LOCAL_LIBRARIES = $(XPM_LIB) -lXm $(XTOOLLIB) $(XLIB)
SRCS1 = mfsm.c
OBJS1 = mfsm.o
PROGRAMS = mfsm
AllTarget($(PROGRAMS))
NormalProgramTarget(mfsm,$(OBJS1),$(NULL),$(LOCAL_LIBRARIES),$(NULL))
InstallProgram(mfsm,$(BINDIR))
InstallAppDefaults(Mfsm)
InstallManPageLong(mfsm,$(MANDIR),mfsm)
DependTarget()